package com.imau.mapper;

import com.imau.bean.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpMapper {




    List<Emp> getByParm(Emp emp);

    //多条件选择 if else
    Emp getByChoose(Emp emp);

    int deleteByEids(@Param("ids") Integer ids[]);

    int addBatch(@Param("emps") List<Emp> emps);
    int updateByEid(Emp emp);

    Emp findByEid(@Param("eid") Integer eid);
}
